import request from '@/utils/request'

// 获取单位信息
export function getCompanyList(data) {
	return request({
		url: '/AppPro/Manage_GetCompanyList',
		headers: {
			isToken: true
		},
		method: 'post',
		params: data
	})
}
// 获取单位信息详情
export function getCompanyListDetail(data) {
	return request({
		url: '/AppPro/Manage_GetCompany',
		headers: {
			isToken: true
		},
		method: 'post',
		params: data
	})
}

// 获取车辆信息
export function getCarList(data) {
	return request({
		url: '/AppPro/ManageCarFile_GetCarList',
		method: 'post',
		params: data
	})
}
// 获取车辆信息详情
export function getCarDetail(data) {
	return request({
		url: '/AppPro/ManageCarFile_GetCarInfo',
		method: 'post',
		params: data
	})
}

// 获取驾驶员信息
export function getDriverList(data) {
	return request({
		url: '/AppPro/ManageDriver_GetDriverList',
		method: 'post',
		params: data
	})
}

// 获取驾驶员详情
export function getDriverDetail(data) {
	return request({
		url: '/AppPro/ManageDriver_GetDriverInfo',
		method: 'post',
		params: data
	})
}
// 获取费用标准
export function getApplyPriceList(data) {
	return request({
		url: '/AppPro/ApplyCar/SY_ApplyPriceList',
		method: 'post',
		params: data
	})
}
// 获取费用标准详情
export function getApplyPriceDetail(data) {
	return request({
		url: '/AppPro/ApplyCar/SY_ApplyPrice',
		method: 'post',
		params: data
	})
}


// 用车申请记录
export function getSYList(data) {
	return request({
		url: '/AppPro/SY_LIST',
		method: 'post',
		params: data
	})
}
// 用车申请记录详情
export function getSYListDetail(data) {
	return request({
		url: '/AppPro/ApplyCar/SY_SocialInfo',
		method: 'post',
		params: data
	})
}